
package com.fis.mca.persistence;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for mcaSession complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="mcaSession">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="closedDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="closedReasonId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="isRegHlrSuccessful" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="lastCallDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="lastRetryDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="mcaAttemptHistories" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="mcaCallLogs" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="mcaSmsLogs" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="mcaSubscriber" type="{http://session.mca.fis.com/}mcaSubscriber" minOccurs="0"/>
 *         &lt;element name="msisdn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="regHlrCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="retryCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="sessionId" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="startDatetime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mcaSession", propOrder = {
    "closedDatetime",
    "closedReasonId",
    "isRegHlrSuccessful",
    "lastCallDatetime",
    "lastRetryDatetime",
    "mcaAttemptHistories",
    "mcaCallLogs",
    "mcaSmsLogs",
    "mcaSubscriber",
    "msisdn",
    "regHlrCount",
    "retryCount",
    "sessionId",
    "startDatetime",
    "status"
})
public class McaSession {

    @XmlSchemaType(name = "dateTime")
    protected Date closedDatetime;
    protected int closedReasonId;
    protected String isRegHlrSuccessful;
    @XmlSchemaType(name = "dateTime")
    protected Date lastCallDatetime;
    @XmlSchemaType(name = "dateTime")
    protected Date lastRetryDatetime;
    @XmlElement(nillable = true)
    protected List<Object> mcaAttemptHistories;
    @XmlElement(nillable = true)
    protected List<Object> mcaCallLogs;
    @XmlElement(nillable = true)
    protected List<Object> mcaSmsLogs;
    protected McaSubscriber mcaSubscriber;
    protected String msisdn;
    protected int regHlrCount;
    protected int retryCount;
    protected long sessionId;
    @XmlSchemaType(name = "dateTime")
    protected Date startDatetime;
    protected String status;

    /**
     * Gets the value of the closedDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getClosedDatetime() {
        return closedDatetime;
    }

    /**
     * Sets the value of the closedDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setClosedDatetime(Date value) {
        this.closedDatetime = value;
    }

    /**
     * Gets the value of the closedReasonId property.
     * 
     */
    public int getClosedReasonId() {
        return closedReasonId;
    }

    /**
     * Sets the value of the closedReasonId property.
     * 
     */
    public void setClosedReasonId(int value) {
        this.closedReasonId = value;
    }

    /**
     * Gets the value of the isRegHlrSuccessful property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIsRegHlrSuccessful() {
        return isRegHlrSuccessful;
    }

    /**
     * Sets the value of the isRegHlrSuccessful property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIsRegHlrSuccessful(String value) {
        this.isRegHlrSuccessful = value;
    }

    /**
     * Gets the value of the lastCallDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getLastCallDatetime() {
        return lastCallDatetime;
    }

    /**
     * Sets the value of the lastCallDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setLastCallDatetime(Date value) {
        this.lastCallDatetime = value;
    }

    /**
     * Gets the value of the lastRetryDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getLastRetryDatetime() {
        return lastRetryDatetime;
    }

    /**
     * Sets the value of the lastRetryDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setLastRetryDatetime(Date value) {
        this.lastRetryDatetime = value;
    }

    /**
     * Gets the value of the mcaAttemptHistories property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the mcaAttemptHistories property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMcaAttemptHistories().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getMcaAttemptHistories() {
        if (mcaAttemptHistories == null) {
            mcaAttemptHistories = new ArrayList<Object>();
        }
        return this.mcaAttemptHistories;
    }

    /**
     * Gets the value of the mcaCallLogs property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the mcaCallLogs property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMcaCallLogs().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getMcaCallLogs() {
        if (mcaCallLogs == null) {
            mcaCallLogs = new ArrayList<Object>();
        }
        return this.mcaCallLogs;
    }

    /**
     * Gets the value of the mcaSmsLogs property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the mcaSmsLogs property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMcaSmsLogs().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getMcaSmsLogs() {
        if (mcaSmsLogs == null) {
            mcaSmsLogs = new ArrayList<Object>();
        }
        return this.mcaSmsLogs;
    }

    /**
     * Gets the value of the mcaSubscriber property.
     * 
     * @return
     *     possible object is
     *     {@link McaSubscriber }
     *     
     */
    public McaSubscriber getMcaSubscriber() {
        return mcaSubscriber;
    }

    /**
     * Sets the value of the mcaSubscriber property.
     * 
     * @param value
     *     allowed object is
     *     {@link McaSubscriber }
     *     
     */
    public void setMcaSubscriber(McaSubscriber value) {
        this.mcaSubscriber = value;
    }

    /**
     * Gets the value of the msisdn property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMsisdn() {
        return msisdn;
    }

    /**
     * Sets the value of the msisdn property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMsisdn(String value) {
        this.msisdn = value;
    }

    /**
     * Gets the value of the regHlrCount property.
     * 
     */
    public int getRegHlrCount() {
        return regHlrCount;
    }

    /**
     * Sets the value of the regHlrCount property.
     * 
     */
    public void setRegHlrCount(int value) {
        this.regHlrCount = value;
    }

    /**
     * Gets the value of the retryCount property.
     * 
     */
    public int getRetryCount() {
        return retryCount;
    }

    /**
     * Sets the value of the retryCount property.
     * 
     */
    public void setRetryCount(int value) {
        this.retryCount = value;
    }

    /**
     * Gets the value of the sessionId property.
     * 
     */
    public long getSessionId() {
        return sessionId;
    }

    /**
     * Sets the value of the sessionId property.
     * 
     */
    public void setSessionId(long value) {
        this.sessionId = value;
    }

    /**
     * Gets the value of the startDatetime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Date getStartDatetime() {
        return startDatetime;
    }

    /**
     * Sets the value of the startDatetime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setStartDatetime(Date value) {
        this.startDatetime = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatus() {
        return status;
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }

}
